This agent in R5 works fine. Dim session As New NotesSession Dim db As NotesDatabase Dim view As notesView Dim VEntry As NotesViewEntry Set db = session.CurrentDatabase Set view = db.GetView("NPK") Set VEntry = View.GetEntryByKey( "2004", True) If VEntry Is Nothing Then Print | Entry not found | Else Print VENtry.ColumnValues(0) End If But in R6.5 I get "Entry no found". User can't see document but he can see category. I always use this technique to get same values from documents, when user can't see some documents. I rather think that Lotus change something in class NotesViewEntry, but I can't find any reference in Help or FixList databases. Aigars
Go back